package com.feinno.urcs.group.interop;

import com.feinno.urcs.group.interop.entity.FXCatalogIndex;
import com.feinno.urcs.group.interop.entity.FXMobileNo;
import org.helium.framework.annotations.ServiceInterface;

/**
 * @author Li.Hongbo <lihongbo@feinno.com>
 */
@ServiceInterface(id = "group:IUserIndexService")
public interface IUserIndexService {

	//RpcMethod("GetUserIndexByMobileNo")
	FXCatalogIndex getUserIndexByMobileNo(FXMobileNo mobileNo) throws Exception;

	//RpcMethod("GetUserIndexBySid")
	FXCatalogIndex getUserIndexBySid(int sid) throws Exception;

	//RpcMethod("GetUserIndexByUserId")
	FXCatalogIndex getUserIndexByUserId(int uid) throws Exception;

	//RpcMethod("GetUserIndexByEmail")
	FXCatalogIndex getUserIndexByEmail(String email) throws Exception;

	//RpcMethod("GetOriginalSid")
	int getOriginalSidByMobileNo(FXMobileNo mobileNo) throws Exception;
}
